#include "widget.h"
#include "ui_widget.h"
#include<QPushButton>
#include<select.h>
#include<changefile.h>
#include<video.h>
#include<shoucang.h>
#include<dialog.h>
Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);

    connect(ui->pushButton_2,&QPushButton::clicked,this,[=](){
        select *s=new select;
        s->show();
        this->hide();
    });

    connect(ui->commandLinkButton,&QPushButton::clicked,this,[=](){
        ChangeFile *s=new ChangeFile;
        s->show();
        this->hide();
    });

    connect(ui->commandLinkButton_2,&QPushButton::clicked,this,[=](){
        video *s=new video;
        s->show();
        this->hide();
    });

    connect(ui->commandLinkButton_3,&QPushButton::clicked,this,[=](){
        shoucang *s=new shoucang;
        s->show();
        this->hide();
    });

    connect(ui->pushButton,&QPushButton::clicked,this,[=](){
        dialog *s=new dialog;
        s->show();
        this->hide();
    });
}

Widget::~Widget()
{
    delete ui;
}

